<?php 

use frontend\assets\AppAsset;


use yii\helpers\Html;

use yii\widgets\ActiveForm;

AppAsset::register($this);

 ?>
  <?php $this->beginPage() ?>
      <?php $this->head() ?>
    <?php $this->beginBody() ?>


<div class="container">
			<div class="section-top-content flex items-center">
				<h1>修改职位</h1>
				<?php $form = ActiveForm::begin(['action' => '?r=job/job_upds' , 'method' => 'post']); ?>
			</div> 
			 

                <?= Html::activeHiddenInput($res,'JId') ?>
			<div class="jobs-table">
				<div class="table-header">
					<div class="table-cells flex">
						<div class="job-title-cell"><h6>名称</h6></div>
						
						<div class="job-type-cell"><h6>输入/完善</h6></div>
					</div> <!-- end .table-cells -->
					
				</div> <!-- end .table-header -->

				<div class="table-row">
					<div class="table-cells flex no-wrap">
						<div class="cell job-title-cell flex no-column no-wrap">
							<div class="content">
								<h4><a href="#">企业招聘职位的起始时间</a></h4>
								<p class="small">JStart</p>
							</div> <!-- end .content -->
						</div> <!-- end .job-title-cell -->
					
							<?= $form->field($res, 'JStart')->textInput() ?>
					
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-row -->

				<div class="table-row">
					<div class="table-cells flex no-wrap">
						<div class="cell job-title-cell flex no-column no-wrap">
							<div class="content">
								<h4><a href="#">企业招聘职位的结束时间</a></h4>
								<p class="small">JSend</p>
							</div> <!-- end .content -->
						</div> <!-- end .job-title-cell -->
						
							<?= $form->field($res, 'JSend')->textInput() ?>
			
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-row -->

				<div class="table-row">
					<div class="table-cells flex no-wrap">
						<div class="cell job-title-cell flex no-column no-wrap">
							<div class="content">
								<h4><a href="#">职位名称</a></h4>
								<p class="small">JName</p>
							</div> <!-- end .content -->
						</div> <!-- end .job-title-cell -->
					
							<?= $form->field($res, 'JName')->textInput() ?>
				
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-row -->

				<div class="table-row">
					<div class="table-cells flex no-wrap">
						<div class="cell job-title-cell flex no-column no-wrap">
							<div class="content">
								<h4><a href="#">职位薪资</a></h4>
								<p class="small">JSalary</p>
							</div> <!-- end .content -->
						</div> <!-- end .job-title-cell -->
					
							<?= $form->field($res, 'JSalary')->textInput() ?>
					
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-row -->

				<div class="table-row">
					<div class="table-cells flex no-wrap">
						<div class="cell job-title-cell flex no-column no-wrap">
							<div class="content">
								<h4><a href="#">职位招聘人数</a></h4>
								<p class="small">JNum</p>
							</div> <!-- end .content -->
						</div> <!-- end .job-title-cell -->
					
							<?= $form->field($res, 'JNum')->textInput() ?>
					
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-row -->

				<div class="table-row">
					<div class="table-cells flex no-wrap">
						<div class="cell job-title-cell flex no-column no-wrap">
							<div class="content">
								<h4><a href="#">职位招聘基本要求</a></h4>
								<p class="small">JRequ</p>
							</div> <!-- end .content -->
						</div> <!-- end .job-title-cell -->
					
							<?= $form->field($res, 'JRequ')->textInput() ?>
					
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-row -->

				<div class="table-row">
					<div class="table-cells flex no-wrap">
						<div class="cell job-title-cell flex no-column no-wrap">
							<div class="content">
								<h4><a href="#">工作地点</a></h4>
								<p class="small">JAdr</p>
							</div> <!-- end .content -->
						</div> <!-- end .job-title-cell -->
					
							<?= $form->field($res, 'JAdr')->textInput() ?>
				
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-row -->

				
				<div align="center">
				 <?= Html::submitButton('提交', ['class' => 'btn btn-primary','style'=>'width:100']) ?>
				 </div>
				 <?php ActiveForm::end(); ?>
			</div> <!-- end .jobs-table -->
		</div> <!-- end .container -->

  <?php $this->endBody() ?>
  <?php $this->endPage() ?>